package com.delayqueue.common.task;

import com.delayqueue.common.enums.ExecutorType;

import java.time.temporal.ChronoUnit;

public class CycleAsyncTask extends CycleTask {
    public CycleAsyncTask(ExecutorType executorType, long executeTime, int cycleTimeNum, ChronoUnit cycleTimeUnit) {
        super(executorType, executeTime, cycleTimeNum, cycleTimeUnit);
        this.setAsync(true);
    }
}
